<?php 

function smarty_function_css($params, &$smarty){
    $str = <<<str
<link rel="stylesheet" href="{$params['file']}"></link>
str;
    return $str;
}
 ?>